package com.jjwww.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jjwww
 * @since 2025-10-23
 */
@Getter
@Setter
@ToString
@TableName("books")
public class Books implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("bookname")
    private String bookname;

    @TableField("writer")
    private String writer;

    @TableField("press")
    private String press;

    @TableField("price")
    private Integer price;

    @TableField("intro")
    private String intro;

    @TableField("img")
    private String img;

    @TableField("bookuid")
    private Integer bookuid;

    @TableField("bookcode")
    private Integer bookcode;
}
